package com.example.demo.service;

import com.example.demo.dto.UserRequestDTO;
import com.example.demo.controller.bean.Result;
import com.example.demo.mapper.entity.AdvertiserView;
import com.example.demo.mapper.entity.SysUser;
import com.example.demo.mapper.entity.SysUserRole;
import com.example.demo.mapper.entity.SysUserView;
import com.example.demo.utils.PageBo;
import com.example.demo.utils.PageVo;

import java.util.List;

public interface UserManageService {
    PageVo<SysUserView> getUserList(PageBo pageBo);

    PageVo<SysUserView> searchUser(UserRequestDTO request, PageBo pageBo);

    Result<String> deleteUser(SysUserView user);

    void deleteList(List<SysUserView> userList);

    Result<String> updateUser(SysUserView user);

    PageVo<AdvertiserView> getAdvertiserList(PageBo pageBo);

    PageVo<AdvertiserView> searchAdvertiser(UserRequestDTO request, PageBo pageBo);

    List<AdvertiserView> getAdvertiserDataList(int userId);

    Result<String> addAdvertiser(AdvertiserView request);

    Result<String> deleteAdvertiser(AdvertiserView request);

    Result<String> batchDeleteAdvertiser(List<AdvertiserView> advertiserList);

    Result<String> updateAdvertiser(AdvertiserView request);

    Result<String> addUserInfo(SysUserView user);
}
